import Mock from 'mockjs'
export default Mock.mock('/react/basic', 'get', options=>{
    return Mock.mock([
        {
            key:601000,
            title:"jsx语法",
          },
          {
            key:601001,
            title:"函数组件",
          },
          {
            key:601002,
            title:"类组件",
          },
          {
            key:601003,
            title:"state",
          },
          {
            key:601004,
            title:"props",
          },
          {
            key:601005,
            title:"refs",
          },
          {
            key:601006,
            title:"表单数据",
          },
          {
            key:601007,
            title:"旧生命周期",
          },
          {
            key:601008,
            title:"新生命周期",
          },
          {
            key:601009,
            title:"组件间通信",
          },
          {
            key:601010,
            title:"setState",
          },
          {
            key:601011,
            title:"启动模式",
          },
          {
            key:601012,
            title:"react18",
          },
          {
            key:601013,
            title:"跳过更新",
          },
          {
            key:601014,
            title:"immer",
          },
          {
            key:601015,
            title:"缓存状态",
          },
          {
            key:601016,
            title:"渲染流程",
          },
    ]);
})